<template>
	<view class="section-header">
		<view class="line"></view>
		<view class="title font36">{{title}}</view>
		<view class="more" @click="$emit('click')">
			<text>更多</text>
			<uv-icon name="arrow-right"></uv-icon>
		</view>


	</view>
</template>

<script>
	export default {
		name: "section-header",
		props: {
			title: {
				type: String,
				default: ''
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="less">
	.section-header {
		background: #fff;
		display: flex;
		padding: 0px 30rpx;
		position: relative;
		align-items: center;
		height: 90rpx;

		.line {
			width: 10rpx;
			height: 36rpx;
			background-color: #00c6c3;
			border-radius: 5rpx;
		}

		.title {
			flex-grow: 1;
			text-align: left;
			margin-left: 22rpx;
			color: #333333;
		}
	}

	.more {
		display: flex;
	}
</style>